# Dockerfile
FROM 192.168.1.220:5000/oraclelinux:6.9

LABEL maintainer="lixl@sysware.com.cn"

RUN rm -f /etc/yum.repos.d/*
ADD ol6.repo /etc/yum.repos.d/
RUN yum -y install vim && yum clean all

ADD jdk1.8.0_151.tar.gz /usr/java/

ENV JAVA_HOME=/usr/java/jdk1.8.0_151
ENV	PATH $JAVA_HOME/bin:$PATH